using System.Security.Principal;

namespace ZQNB.Web.Common.Security
{
    public interface IPrincipalResolver
    {
        void SetPrincipal(IPrincipal principal);
        IPrincipal CreatePrincipal(string loginName, string[] roles);
        IIdentity CreateIdentity(string loginName);
    }
}